import { req, req_post, req_common, req_clientUser } from '@/common/lib/request.js'

const api = {}

api.req = (url, data, type, loading) => req(url, data, type, loading)
api.req_post = (url, data, type, loading) => req_post(url, data, type, loading)
api.req_clientUser = (url, data, type, loading) => req_clientUser(url, data, type, loading)

api.req_common = (url, data, type, loading) => req_common(url, data, type, loading)

export default api

